import pandas as pd

# 读取csv文件
df = pd.read_csv('./nba.csv')
# print(df)

# 获取前10行
print(df.head(n = 10))

print(df.columns)

# 数据写到csv文件
# df.to_csv('./nba_v2.csv', index=False)